/*******************************************************************************
 * Package: com.song.boot.springstudy.myspring.aware
 * Type:    MyResourceLoaderAware
 * Date:    2024-01-31 17:02
 *
 * Copyright (c) 2024 LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.song.boot.springstudy.myspring.aware;

import org.springframework.context.ResourceLoaderAware;
import org.springframework.core.io.ResourceLoader;
import org.springframework.core.io.support.ResourcePatternResolver;
import org.springframework.core.io.support.ResourcePatternUtils;

/**
 * 功能描述：通过实现该接口，Bean实例可以获取到ResourceLoader对象的引用，从而可以在运行时加载外部资源
 * @author Songxianyang
 * @date 2024-01-31 17:02
 */
public class MyResourceLoaderAware implements ResourceLoaderAware {
    @Override
    public void setResourceLoader(ResourceLoader resourceLoader) {

    }
}
